projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f7b0f8
)
(diff-buffer-with-file): Call diff synchronously, so we don't delete
author
Colin Walters
<walters@gnu.org>
Sat, 7 Sep 2002 21:30:37 +0000
(21:30 +0000)
committer
Colin Walters
<walters@gnu.org>
Sat, 7 Sep 2002 21:30:37 +0000
(21:30 +0000)
the temporary file before diff has a chance to read it.
lisp/files.el
patch
|
blob
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index ac25232bafee4ddf61862fbc58b869548f0d6f24..ac61bbbd017d37353c9dbd86cc3b4b1b14413bc4 100644
(file)
--- a/
lisp/files.el
+++ b/
lisp/files.el
@@
-3008,7
+3008,7
@@
This requires the external program \"diff\" to be in your `exec-path'."
(save-restriction
(widen)
(write-region (point-min) (point-max) tempfile nil 'nomessage)))
- (diff buf-filename tempfile))
+ (diff buf-filename tempfile
nil t
))
(when (file-exists-p tempfile)
(delete-file tempfile)))
nil)))